home *** CD-ROM | disk | FTP | other *** search
- Path: news.iastate.edu!news
- From: Opal Dragon <dwynn@nwciowa.edu>
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Delay malfunction in Borland (& Turbo) C(++).
- Date: 18 Mar 1996 16:56:45 GMT
- Organization: Iowa State University, Ames, Iowa
- Message-ID: <4ik4kd$17g@news.iastate.edu>
- NNTP-Posting-Host: pcuser55.nwciowa.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
-
- I'm working on a graphics program in Borland C(++) version 3.1 (Most of
- my code is strictly C, but the compiler does have C++ capabilities).
-
- At the beginning of my main program loop, I use a Delay statement, hoping
- to regulate the loop so that all computers will run it at the same speed.
- (I haven't had much experience with interrupts, so was hoping that this
- would be sufficient) There seems to be some kind of glitch with the
- Delay statement. It will work fine for a minute or two, then the
- computer seems to completely ignore the Delay statement, and my computer
- looks like it's had a little too much LSD.
-
- Has anyone else noticed problems with Borland's (I'm believe the Delay is
- Borland-specific) Delay statement? Anyone know how to fix this? Any
- suggestions on other ways to slow down my program?
-
- ---------------------+-----------------------------------------------
- Opal Dragon | Back in the days of Old Earth one group had a
- -==(UDIC)==- | saying, 'What shall it profit a man, if he
- ---------------------+ should gain the whole world, and lose his own
- | soul?' Nobody listened then, either... They
- David Wynn Box 1182 | said God was love and postulated a heaven of
- Northwestern College | communal love, and a hell for those who could
- 208 8th St SW | not love. Later on that got crudded up with
- Orange City IA 51041 | other stuff until the ideas were gone and only
- | the artifacts were left... They paid more at-
- dwynn@nwciowa.edu | tention to things than to ideas--and...they
- | died for it. --Jack L. Chalker
- ---------------------+-----------------------------------------------
-
-
-
-
-
-
-
-